import request from '@/utils'

// 获取轮播图片
export const getBanner = () => request({
    url:'/banner?type=0'
});
// 获取推荐歌单
export const recommendList = params => request({
    url:'/personalized',
    params
});
// 获取最新歌曲
export const getNewMusic = () => request({
    url:'/personalized/newsong?limit=12'
});
// 获取推荐MV
export const rencommendMV = () => request({
    url:'/personalized/mv'
});
// // 获取歌单标签
export const SonglistTab = () => request({
    url:'/playlist/hot'
});
//获取歌单
export const playList = params => request({
    url:'/top/playlist',
    params
});
// 获取排行榜
export const getRanking = () => request({
    url:'/toplist/detail'
})
// 获取歌手信息
export const getSinger = params =>request({
    url:'/artist/list',
    params
})